#include "MsgTextEdit.h"
#include "define.h"

MsgTextEdit::MsgTextEdit(QWidget *parent)
	: QTextEdit(parent)
{
}

MsgTextEdit::~MsgTextEdit()
{
}

void MsgTextEdit::addEmotionHtmlInEdit(int emotionName)
{
	QString emotionPath = IMG_QRC + QString::number(emotionName) + IMG_PNG;
	insertHtml(QString(IMG_SRC).arg(emotionPath));
}
